<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
            margin: 0;
            font-family: Arial, Helvetica, sans-serif;
            padding: 20px;
            background-color: rgb(255, 255, 255);
        }

        .selector-apply {
            width: 600px;
            height: 500px;
            background-color: rgb(255, 255, 255);

        }

        div>h1 {
            text-align: center;
            color: rgb(51, 51, 51);
        }

        header,
        article {
            /* width: 300px; */
            height: 150px;
            border: 3px solid rgb(224, 224, 224);
            margin-bottom: 20px;
            padding: 10px;
        }

        h2,
        h3 {
            text-decoration: underline;
        }

        section>article:nth-child(2) {
            height: 200px;
        }

        header>p {
            color: rgb(70, 82, 255);
        }

        .text-color {
            background-color: rgb(255, 255, 224);
        }

        .footer-text {
            font-weight: bold;
        }
    </style>
</head>

<body>
    <div class="selector-apply">
        <h1>CSS选择器应用示例</h1>
        <header>
            <h2>美食介绍区</h2>
            <p>北京烤鸭，皮脆肉嫩，是一道经典的中式美食。</p>
            <p>还有重庆火锅，以其麻辣鲜香的口味闻名遐迩。</p>
        </header>
        <section>
            <article>
                <h2>古诗词赏析区</h2>
                <p class="text-color">“大漠孤烟直，长河落日圆”，描绘出了塞外沙漠的壮丽风光</p>
                <p>“采菊东篱下，悠然见南山”，体现了诗人闲适的田园生活。</p>
            </article>
            <article>
                <h2>美食与诗词相关标题</h2>
                <h2>经典美食特色</h2>
                <h3>诗词中的意境</h3>
                <p>这里展示了美食和诗词相关的标题样式。</p>
            </article>
            <article>
                <h2>特殊描述区域</h2>
                <p class="footer-text">苏轼不仅是大文豪，还留下了不少与美食有关的诗词。</p>
                <p>很多美食背后都有独特的文化故事。</p>
            </article>
        </section>
    </div>
</body>

</html>